package org.example.pojo.en;

import java.sql.Timestamp;

public class UserDepositDormitoryEn {
    //定义三个表的实体类
    //充值表
    private int depositId;//水电费充值记录id
    private int userId;//用户id
    private int dormitoryId;//宿舍id
    private int depositMonkey;//充值的钱数
    private Timestamp depositTime;//充值时间

    //宿舍表
    private String dormitoryName;//宿舍名字
    private int dormitoryMonkey;//宿舍水电费所剩的费用

    //用户表
    private String userName;//用户名字
    private String userPassword;//用户密码
    private String userSex;//用户性别

    private String userXh;//用户学号

    private String userPhone;//用户的电话号码

    private String userStatus;//用户的身份状态 0普通用户     1系统管理员

    //总页数
    private  int totalCount;

//无参
    public UserDepositDormitoryEn() {
    }
    //有参数

    public UserDepositDormitoryEn(int depositId, int userId, int dormitoryId, int depositMonkey, Timestamp depositTime, String dormitoryName, int dormitoryMonkey, String userName, String userPassword, String userSex, String userXh, String userPhone, String userStatus, int totalCount) {
        this.depositId = depositId;
        this.userId = userId;
        this.dormitoryId = dormitoryId;
        this.depositMonkey = depositMonkey;
        this.depositTime = depositTime;
        this.dormitoryName = dormitoryName;
        this.dormitoryMonkey = dormitoryMonkey;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userSex = userSex;
        this.userXh = userXh;
        this.userPhone = userPhone;
        this.userStatus = userStatus;
        this.totalCount = totalCount;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
    //get set

    public int getDepositId() {
        return depositId;
    }

    public void setDepositId(int depositId) {
        this.depositId = depositId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getDormitoryId() {
        return dormitoryId;
    }

    public void setDormitoryId(int dormitoryId) {
        this.dormitoryId = dormitoryId;
    }

    public int getDepositMonkey() {
        return depositMonkey;
    }

    public void setDepositMonkey(int depositMonkey) {
        this.depositMonkey = depositMonkey;
    }

    public Timestamp getDepositTime() {
        return depositTime;
    }

    public void setDepositTime(Timestamp depositTime) {
        this.depositTime = depositTime;
    }

    public String getDormitoryName() {
        return dormitoryName;
    }

    public void setDormitoryName(String dormitoryName) {
        this.dormitoryName = dormitoryName;
    }

    public int getDormitoryMonkey() {
        return dormitoryMonkey;
    }

    public void setDormitoryMonkey(int dormitoryMonkey) {
        this.dormitoryMonkey = dormitoryMonkey;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserXh() {
        return userXh;
    }

    public void setUserXh(String userXh) {
        this.userXh = userXh;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }
    //转字符串


    @Override
    public String toString() {
        return "UserDepositDormitoryEn{" +
                "depositId=" + depositId +
                ", userId=" + userId +
                ", dormitoryId=" + dormitoryId +
                ", depositMonkey=" + depositMonkey +
                ", depositTime=" + depositTime +
                ", dormitoryName='" + dormitoryName + '\'' +
                ", dormitoryMonkey=" + dormitoryMonkey +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userXh='" + userXh + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userStatus='" + userStatus + '\'' +
                '}';
    }
}
